﻿using System;
using System.Windows;
using System.Windows.Input;

namespace Microsoft.Popfly.GameCreator.GameEngine.Events
{
    public class PGCMouseEventArgs : PGCEventArgs
    {
        public MouseEventArgs MouseEventArgs { get; private set; }
        public struct JSEngineKeyEventArgs
        {
            public Point mouseLocation;
        }

        public JSEngineKeyEventArgs keyEventArgs { get; private set; }

        public PGCMouseEventArgs(Game game, MouseEventArgs mouseButtonEventArgs)
        {
            MouseEventArgs = mouseButtonEventArgs;

            JSEngineKeyEventArgs jsArgs = new JSEngineKeyEventArgs();
            jsArgs.mouseLocation = mouseButtonEventArgs.GetPosition(game.CurrentScene.GetCanvasRoot());
        }
    }
}
